Skip to content

mcp: bound the catalog snapshot so a stall cannot outlive the request timeout (DEX-92) - #37986

Merged
bobbyiliev merged 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-timeout-covers-snapshot
Aug 3, 2026
Merged

bobbyiliev merged 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-timeout-covers-snapshot

Conversation

@bobbyiliev

Copy link
Copy Markdown
Contributor

MCP_REQUEST_TIMEOUT only wrapped the handler body, so a stalled catalog_snapshot could hang a request indefinitely. Since the configured value lives in that same snapshot, this bounds the fetch with the dyncfg's compiled-in default and returns 503, matching the existing pre-flight failure path.

@bobbyiliev
bobbyiliev marked this pull request as ready for review July 31, 2026 15:47
@bobbyiliev
bobbyiliev requested a review from a team as a code owner July 31, 2026 15:47
@bobbyiliev
bobbyiliev requested a review from jubrad July 31, 2026 15:47
@bobbyiliev
bobbyiliev merged commit 0ee3c26 into MaterializeInc:main Aug 3, 2026
125 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants